from math import *

from core.basic.character import Character
from core.basic.skill import 主动技能, 技能, 被动技能


class 缔造主动技能(主动技能):
    def 手搓CD(self):
        cdr = 0
        if self.手搓:
            if self.所在等级 >= 15 and self.所在等级 <= 30:
                cdr = 0.01 * self.手搓收益
            if self.所在等级 >= 35 and self.所在等级 <= 70:
                cdr = 0.02 * self.手搓收益
            if self.所在等级 >= 75 and self.所在等级 <= 100:
                cdr = 0.05 * self.手搓收益
            if self.所在等级 in [85, 100]:
                cdr = 0.05 * self.手搓收益
        return cdr


class 技能0(缔造主动技能):
    名称 = "烈火燎原"
    所在等级 = 1
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5
    MP = [24, 252]
    无色消耗 = 0
    data0 = [0, 36, 50, 66, 78, 95, 101, 114, 130, 143, 155, 172, 185, 199, 210, 224, 239, 253, 268, 276, 289, 304, 317, 330, 347, 357, 373, 386, 398, 413, 427, 442, 451, 463, 479, 491, 505, 518, 532, 546, 560, 573, 589, 601, 617, 625, 638, 654, 666, 680, 692, 707, 722, 735, 747, 764, 777, 784, 799, 813, 828, 841, 851, 867, 879, 897, 912, 923, 940, 952, 957]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7

    power0 = 0
    能量 = 140
    最小值 = 4
    持续秒数 = 6.0
    硬直时长百分比 = 0

    国服特色 = 1.05

    形态 = ['普通', '觉醒']

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值
#            self.data0 = [int(x * 觉醒后能量消耗 / self.最小值) for x in self.data0]
#            self.data0 = [0.5*x for x in data0]
            # self.最小值 = 觉醒后能量消耗


class 技能1(缔造主动技能):
    名称 = "炽炎星陨"
    所在等级 = 1
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5
    MP = [3, 36]
    无色消耗 = 0
    data0 = [0, 186, 254, 321, 386, 451, 518, 585, 651, 717, 783, 848, 916, 982, 1048, 1114, 1177, 1247, 1311, 1378, 1445, 1512, 1577, 1644, 1708, 1775, 1844, 1909, 1974, 2039, 2106, 2173, 2239, 2306, 2369, 2434, 2504, 2567, 2635, 2698, 2766, 2834, 2899, 2964, 3032, 3100, 3163, 3231, 3295, 3362, 3431, 3494, 3559, 3626, 3694, 3760, 3827, 3889, 3958, 4025, 4090, 4157, 4221, 4287, 4356, 4422, 4486, 4553, 4619, 4686, 4752]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7

    power0 = 0
    能量 = 140
    最小值 = 20
    持续秒数 = 1.0
    硬直时长百分比 = 0

    国服特色 = 1.065

    形态 = ['普通', '觉醒']

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能2(缔造主动技能):
    名称 = "冰霜之球"
    所在等级 = 10
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10
    MP = [4, 40]
    无色消耗 = 0
    data0 = [0, 107, 122, 137, 151, 170, 184, 199, 216, 231, 245, 262, 278, 293, 308, 325, 340, 355, 373, 387, 403, 421, 433, 449, 467, 483, 498, 513, 529, 545, 561, 578, 593, 608, 623, 638, 655, 671, 686, 702, 716, 733, 750, 764, 779, 796, 810, 825, 842, 857, 873, 889, 904, 920, 935, 952, 967, 983, 999, 1013, 1031, 1049, 1061, 1077, 1091, 1109, 1126, 1140, 1155, 1171, 1186]
    hit0 = 6
    TP成长 = 0.1
    TP上限 = 7

    # 能量消耗值：20
    能量 = 140
    最小值 = 20
    持续秒数 = 3.0
    硬直时长百分比 = 0

    MP = [4, 40]

    国服特色 = 1.065

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
            self.最小值 = 20
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能3(缔造主动技能):
    名称 = "冰天震地"
    所在等级 = 10
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 10
    MP = [9, 94]
    无色消耗 = 0
    data0 = [0, 1259, 1443, 1627, 1809, 1995, 2178, 2363, 2544, 2728, 2913, 3097, 3281, 3465, 3648, 3833, 4014, 4199, 4382, 4569, 4752, 4933, 5116, 5299, 5487, 5668, 5854, 6035, 6219, 6402, 6589, 6771, 6954, 7141, 7324, 7505, 7690, 7874, 8058, 8241, 8427, 8608, 8794, 8977, 9160, 9343, 9531, 9713, 9897, 10078, 10259, 10449, 10630, 10813, 10996, 11181, 11363, 11551, 11733, 11917, 12098, 12285, 12467, 12650, 12836, 13020, 13202, 13389, 13572, 13754, 13937]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7

    # 能量消耗值：40
    能量 = 140
    最小值 = 40
    持续秒数 = 1.0
    硬直时长百分比 = 0

    国服特色 = 1.065

    MP = [9, 94]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 140
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能4(被动技能):
    名称 = '幻想之境'
    所在等级 = 20

    等级上限 = 20
    基础等级 = 10

    def 独立攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        elif self.等级 <= 10:
            return round(1 + 0.01 * self.等级, 5)
        else:
            return round(1.1 + 0.015 * (self.等级 - 10), 5)


class 技能5(被动技能):
    名称 = '具象强化'
    所在等级 = 25

    等级上限 = 20
    基础等级 = 10

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.05 + 0.025 * self.等级, 5)


class 技能6(缔造主动技能):
    名称 = "烈焰飓风"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 20
    MP = [43, 452]
    无色消耗 = 1
    data0 = [0, 736, 809, 885, 958, 1032, 1107, 1182, 1259, 1330, 1406, 1482, 1556, 1631, 1704, 1780, 1855, 1933, 2001, 2079, 2154, 2228, 2300, 2376, 2451, 2526, 2599, 2674, 2749, 2827, 2900, 2973, 3049, 3123, 3197, 3271, 3346, 3422, 3498, 3573, 3647, 3721, 3797, 3868, 3943, 4017, 4093, 4168, 4241, 4318, 4393, 4466, 4542, 4614, 4692, 4764, 4840, 4914, 4991, 5062, 5138, 5214, 5288, 5365, 5437, 5511, 5587, 5661, 5734, 5808, 5886]
    hit0 = 12
    TP成长 = 0.1
    TP上限 = 5

    # 烈焰飓风持续时间：3秒
    # 能量消耗值：60
    能量 = 140
    最小值 = 60
    持续秒数 = 4.0

    硬直时长百分比 = 0.05
    是否有护石 = 1

    国服特色 = 1.064

    def 装备护石(self, char):
        self.CDR *= 0.85
        self.power0 *= 1.09


class 技能7(缔造主动技能):
    名称 = "极冰护盾"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 20
    MP = [43, 452]
    无色消耗 = 1
    data0 = [0, 4812, 5300, 5789, 6276, 6768, 7255, 7742, 8231, 8720, 9210, 9694, 10182, 10672, 11161, 11648, 12136, 12626, 13114, 13602, 14090, 14577, 15069, 15557, 16045, 16531, 17019, 17510, 17995, 18485, 18973, 19464, 19949, 20437, 20927, 21414, 21906, 22392, 22882, 23368, 23860, 24345, 24832, 25322, 25811, 26300, 26786, 27274, 27764, 28251, 28740, 29229, 29716, 30207, 30695, 31182, 31669, 32159, 32647, 33134, 33623, 34111, 34601, 35086, 35577, 36066, 36554, 37043, 37528, 38017, 38504]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    持续秒数 = 1.0
    能量 = 140
    最小值 = 60
    硬直时长百分比 = 0.1

    国服特色 = 1.065


class 技能8(缔造主动技能):
    名称 = "超能旋风波"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 25
    MP = [81, 680]
    无色消耗 = 1
    data0 = [0, 591, 653, 709, 768, 831, 889, 949, 1010, 1070, 1131, 1192, 1249, 1311, 1371, 1430, 1490, 1553, 1612, 1670, 1732, 1791, 1849, 1909, 1971, 2031, 2092, 2148, 2212, 2271, 2331, 2390, 2448, 2510, 2569, 2629, 2690, 2751, 2811, 2871, 2932, 2990, 3051, 3111, 3171, 3230, 3292, 3351, 3412, 3471, 3530, 3589, 3650, 3709, 3771, 3831, 3889, 3951, 4013, 4071, 4130, 4190, 4251, 4310, 4369, 4432, 4492, 4554, 4611, 4670, 4730]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    持续秒数 = 5.0
    能量 = 140
    最小值 = 4

    硬直时长百分比 = 0
    是否有护石 = 1
    护石选项 = ['圣痕']

    形态 = ['普通', '觉醒']
    power0 = 0

    国服特色 = 1.064

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 46
            self.power0 = 觉醒后能量消耗 / self.最小值

    def 装备护石(self, char):
        self.倍率 *= 1.32


class 技能9(缔造主动技能):
    名称 = "风暴漩涡"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 25
    MP = [243, 2041]
    无色消耗 = 1
    data0 = [0, 2405, 2651, 2894, 3139, 3384, 3628, 3872, 4116, 4363, 4606, 4852, 5094, 5338, 5582, 5826, 6069, 6316, 6561, 6804, 7050, 7292, 7539, 7782, 8026, 8269, 8515, 8758, 9001, 9246, 9490, 9736, 9980, 10225, 10467, 10714, 10955, 11200, 11446, 11689, 11934, 12178, 12422, 12665, 12913, 13156, 13401, 13643, 13887, 14132, 14377, 14621, 14866, 15111, 15354, 15598, 15842, 16088, 16333, 16574, 16819, 17064, 17308, 17551, 17796, 18040, 18286, 18530, 18774, 19018, 19262]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5

    能量 = 140
    最小值 = 20
    持续秒数 = 5.0
    硬直时长百分比 = 0
    是否有护石 = 1

    国服特色 = 1.064

    形态 = ['普通', '觉醒']

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值
#            self.data0 = [int(x * 觉醒后能量消耗 / self.最小值) for x in self.data0]
            # self.最小值 = 觉醒后能量消耗

    def 装备护石(self, char):
        self.CDR *= 0.85
        self.倍率 *= 1.22


class 技能10(被动技能):
    名称 = '洞悉'
    所在等级 = 48

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.025 + 0.02 * self.等级, 5)


class 技能11(缔造主动技能):
    名称 = "末日虫洞"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    CD = 45
    MP = [464, 3897]
    无色消耗 = 2
    data0 = [0, 438, 509, 579, 650, 720, 792, 864, 932, 1003, 1071, 1144, 1212, 1285, 1355, 1423, 1495, 1564, 1635, 1703, 1776, 1847, 1914, 1986, 2057, 2126, 2196, 2269, 2340, 2407, 2477, 2548, 2617, 2688, 2760, 2832, 2899, 2971, 3038, 3109, 3179, 3252, 3322, 3390, 3462, 3531, 3602, 3671, 3744, 3813, 3883]
    hit0 = 19
    data1 = [0, 21495, 24926, 28354, 31782, 35204, 38636, 42064, 45490, 48917, 52343, 55774, 59200, 62624, 66054, 69481, 72908, 76336, 79764, 83189, 86620, 90045, 93472, 96900, 100327, 103755, 107183, 110609, 114037, 117464, 120892, 124318, 127745, 131173, 134604, 138029, 141457, 144880, 148312, 151741, 155166, 158592, 162021, 165449, 168876, 172305, 175729, 179156, 182587, 186013, 189440]
    hit1 = 1

    TP成长 = 0.10
    TP上限 = 5

    持续秒数 = 3.0
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0
    是否有护石 = 1

    国服特色 = 1.064

    def 装备护石(self, char):
        self.倍率 *= 1.28


class 技能12(缔造主动技能):
    名称 = "冰雪降临"
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    CD = 31.5
    MP = [619, 1733]
    无色消耗 = 1
    data0 = [0, 942, 1091, 1240, 1391, 1540, 1690, 1840, 1990, 2141, 2290, 2442, 2592, 2744, 2892, 3042, 3192, 3341, 3494, 3642, 3793, 3944, 4093, 4242, 4392, 4542, 4692, 4843, 4993, 5144, 5291, 5444, 5593, 5744, 5895, 6043, 6196, 6342, 6495, 6643, 6795, 6946, 7095, 7247, 7395, 7546, 7693, 7844, 7992, 8145, 8295]
    hit0 = 21
    TP成长 = 0.1
    TP上限 = 5

    # 范围大小 1.2~1的倍率
    power0 = 1.2
    持续秒数 = 3.0
    能量 = 100
    最小值 = 50
    硬直时长百分比 = 0
    是否有护石 = 1

    国服特色 = 1.065

    def 装备护石(self, char):
        能量消耗 = 2
        self.data0 = [int(x * 能量消耗 / self.最小值) for x in self.data0]
        self.最小值 = 能量消耗
        self.power0 *= 1.37
        self.持续秒数 = 0.5
        self.硬直时长百分比 = 0.15


class 技能13(缔造主动技能):
    名称 = "时空链接"
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 54
    MP = [1098, 2305]
    无色消耗 = 3
    data0 = [0, 1152, 1268, 1385, 1502, 1618, 1735, 1855, 1971, 2087, 2205, 2321, 2439, 2554, 2671, 2788, 2904, 3023, 3140, 3259, 3372, 3490, 3606, 3724, 3842, 3957, 4075, 4193, 4309, 4426, 4542, 4659, 4776, 4894, 5010, 5128, 5242, 5359, 5479, 5595, 5713, 5829, 5946, 6063, 6179, 6296, 6412, 6531, 6647, 6765, 6882]
    hit0 = 34
    TP成长 = 0.1
    TP上限 = 5

    持续秒数 = 5.0
    能量 = 100
    最小值 = 50
    硬直时长百分比 = 0.05
    是否有护石 = 1

    国服特色 = 1.064

    def 装备护石(self, char):
        self.倍率 *= 1.32


class 技能14(被动技能):
    名称 = '创世之力'
    所在等级 = 75

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.22 + 0.02 * self.等级, 5)


class 技能15(缔造主动技能):
    名称 = "时空禁制"
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40
    CD = 45
    MP = [1317, 9877]
    无色消耗 = 5
    data0 = [0, 1252, 1448, 1650, 1849, 2048, 2249, 2446, 2648, 2845, 3047, 3245, 3445, 3645, 3841, 4043, 4240, 4443, 4642, 4840, 5041, 5238, 5439, 5640, 5839, 6037, 6240, 6437, 6635, 6835, 7034, 7237, 7434, 7634, 7833, 8031, 8230, 8430, 8631, 8828, 9032, 9229, 9428, 9629, 9826, 10029, 10226, 10427, 10626, 10824, 11025]
    hit0 = 30
    data1 = [0, 37537, 43522, 49506, 55489, 61473, 67459, 73443, 79426, 85413, 91396, 97380, 103363, 109348, 115332, 121316, 127301, 133285, 139270, 145251, 151238, 157222, 163206, 169193, 175175, 181160, 187144, 193129, 199113, 205099, 211081, 217064, 223049, 229032, 235018, 241004, 246989, 252969, 258956, 264939, 270924, 276910, 282894, 288878, 294860, 300845, 306830, 312816, 318797, 324782, 330766]
    hit1 = 1


    持续秒数 = 7.0
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0
    是否有护石 = 1

    国服特色 = 1.065

    def 装备护石(self, char):
        self.倍率 *= 0.5 * 2.74


class 技能16(缔造主动技能):
    名称 = "创世"
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [3727, 7454]
    无色消耗 = 10
    data0 = [
          0, 34197, 42124, 50055, 57986, 65913, 73845, 81774, 89706, 97633,
          105563, 113493, 121425, 129353, 137282, 145211, 153142, 161071,
          169001, 176929, 184864, 192791, 200723, 208653, 216582, 224510,
          232442, 240371, 248300, 256228, 264160, 272090, 280018, 287948,
          295881, 303808, 311740, 319667, 327599, 335528, 343458, 351386,
          359318, 367246, 375176, 383104, 391037, 398964, 406896, 414822, 422758
        ]
    hit0 = 6

    持续秒数 = 1
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    国服特色 = 1.065



class 技能17(被动技能):
    名称 = '天工开物'
    所在等级 = 95

    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能18(缔造主动技能):
    名称 = "创世之光"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [773, 6000]
    无色消耗 = 7
    data0 = [0, 179675, 197902, 216127, 234356, 252584, 270813, 289040, 307270, 325494, 343727, 361952, 380179, 398408, 416634, 434865, 453092, 471321, 489547, 507777, 526003, 544235, 562462, 580686, 598917, 617144, 635373, 653599, 671828, 690056, 708287, 726514, 744737, 762969, 781195, 799426, 817652, 835879, 854106, 872338, 890565, 908790, 927020, 945246, 963478, 981703, 999934, 1018159, 1036391, 1054614, 1072840]
    hit0 = 1

    持续秒数 = 3.5
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    国服特色 = 1.065


# def 加成倍率(self, 武器类型):
#        return 0.0


class 技能19(缔造主动技能):
    名称 = "时之终末：归烬"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [4028, 8056]
    无色消耗 = 15
    data0 = [0, 19625, 24175, 28724, 33275, 37827, 42376, 46928, 51476, 56028, 60580, 65128, 69681, 74231, 78781, 83331, 87883, 92433, 96983, 101533, 106085, 110634, 115186, 119736, 124287, 128836, 133387, 137939, 142489, 147039, 151588, 156140, 160692, 165240, 169793, 174342, 178892, 183445, 187994, 192546, 197095, 201645, 206195, 210748, 215297, 219847, 224399, 228948, 233498, 238052, 242600]
    hit0 = 9
    data1 = [0, 412107, 507668, 603229, 698792, 794352, 889912, 985474, 1081034, 1176597, 1272158, 1367719, 1463282, 1558844, 1654404, 1749965, 1845524, 1941089, 2036650, 2132209, 2227772, 2323333, 2418893, 2514453, 2610016, 2705579, 2801139, 2896700, 2992262, 3087822, 3183382, 3278944, 3374506, 3470068, 3565630, 3661191, 3756752, 3852314, 3947875, 4043434, 4138995, 4234561, 4330119, 4425682, 4521244, 4616804, 4712366, 4807926, 4903487, 4999047, 5094612]
    hit1 = 1

    持续秒数 = 6
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    国服特色 = 1.065


#    def 加成倍率(self, 武器类型):
#        return 0.0


class 技能20(被动技能):
    名称 = '自我觉醒'
    所在等级 = 50
    等级上限 = 1
    基础等级 = 1

    def 独立攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.11


class 技能21(主动技能):
    名称 = "创世Buff"
    所在等级 = 85
    等级上限 = 1
    学习间隔 = 1
    等级精通 = 1
    CD = 180
    MP = [3727, 7454]
    无色消耗 = 10

    def 等效CD(self, **argv):
        return super().等效CD(**argv) - 40


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'creator'
        self.名称 = '知源·缔造者'
        self.角色 = '魔法师(女)'
        self.职业 = '缔造者'
        # 用来筛CP武器的
        self.转职 = '缔造者'
        self.武器选项 = ['魔杖', '扫把']
        self.输出类型选项 = ['魔法固伤']
        self.防具精通属性 = ['智力']
        self.类型 = '魔法固伤'
        self.武器类型 = '扫把'
        self.防具类型 = '板甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 1.66

        super().__init__(equVersion)

    def set_skill_info(self, info, rune_except=[], clothes_pants=[], rune_start_lv=20) -> None:
        super().set_skill_info(info, rune_except, clothes_pants, rune_start_lv)
        info['rune'].append("末日虫洞")

    def 设置觉醒技能(self):
        self.觉醒技能 = []
        for i in self.技能栏:
            if i.是否有伤害 == 1 and i.所在等级 in [85,100]:
                self.觉醒技能.append(i.名称)